package com.dave.gd.sysmgr.domain.entity;

import java.io.Serializable;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

import com.dave.gd.core.base.repository.RepositoryRegister;
import com.dave.gd.sysmgr.domain.repository.IRoleRepository;


@Table(name = "el_role")
public class Role  implements Serializable{


    /**
     * .
     */
    private static final long serialVersionUID = -9084705720139976005L;

    /**
     * 
     */
    @Id
    @Column(name = "id")
    private Integer id=0;

    /**
     * 
     */
    @Column(name = "createtime")
    private Timestamp createtime;

    /**
     * 
     */
    @Column(name = "sort")
    private int sort;

    /**
     * 
     */
    @Column(name = "name")
    private String name;

    /**
     * 
     */
    @Column(name = "modifyer")
    private int modifyer;

    /**
     * 
     */
    @Column(name = "uptime")
    private Timestamp uptime;

    /**
     * 
     */
    @Column(name = "state")
    private String state;

    /**
     * 
     */
    @Column(name = "creater")
    private int creater;

    /**
     * 
     */
    @Column(name = "dsc")
    private String dsc;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Timestamp getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Timestamp createtime) {
        this.createtime = createtime;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getModifyer() {
        return modifyer;
    }

    public void setModifyer(int modifyer) {
        this.modifyer = modifyer;
    }

    public Timestamp getUptime() {
        return uptime;
    }

    public void setUptime(Timestamp uptime) {
        this.uptime = uptime;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public int getCreater() {
        return creater;
    }

    public void setCreater(int creater) {
        this.creater = creater;
    }

    public String getDsc() {
        return dsc;
    }

    public void setDsc(String dsc) {
        this.dsc = dsc;
    }



}
